package com.the4man.cnbdw.dao;

import com.the4man.framework.model.MessageRecord;
import com.the4man.framework.model.MessageRecordExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by lenovo on 2017/12/12.
 */
public interface MessageRecordMapper {
    int countByExample(MessageRecordExample var1);

    int deleteByExample(MessageRecordExample var1);

    int deleteByPrimaryKey(String var1);

    int insert(MessageRecord var1);

    int insertSelective(MessageRecord var1);

    List<MessageRecord> selectByExample(MessageRecordExample var1);

    MessageRecord selectByPrimaryKey(String var1);

    int updateByExampleSelective(@Param("record") MessageRecord var1, @Param("example") MessageRecordExample var2);

    int updateByExample(@Param("record") MessageRecord var1, @Param("example") MessageRecordExample var2);

    int updateByPrimaryKeySelective(MessageRecord var1);

    int updateByPrimaryKey(MessageRecord var1);
}
